package com.renjie.homework;

public class Test {
    public static void main(String[] args) {
        Swimmer swimmer = new Swimmer();
        swimmer.run();
        swimmer.swim();

        Rider rider = new Rider();
        rider.ride();
        rider.run();

        Ironman ironman = new Ironman();
        ironman.ride();
        ironman.run();
        ironman.shoot();
        ironman.swim();

        Shooter shooter = new Shooter();
        shooter.run();
        shooter.shoot();
    }
}
